
<!DOCTYPE html>
<html>

<head>
   
    
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">

<!--360浏览器优先以webkit内核解析-->


<title>万用申请单</title>

<link rel="shortcut icon" href="__STATIC__/layout/favicon.ico">
<link href="__STATIC__/layout/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
<link href="__STATIC__/layout/css/font-awesome.min.css?v=4.4.0" rel="stylesheet">
<link href="__STATIC__/layout/css/animate.css" rel="stylesheet">
<link href="__STATIC__/layout/css/style.css?v=4.1.0" rel="stylesheet">
<!-- Sweet Alert -->
<link href="__STATIC__/layout/css/plugins/sweetalert/sweetalert.css" rel="stylesheet">
 <link href="__STATIC__/layout/css/plugins/summernote/summernote.css" rel="stylesheet">
    <link href="__STATIC__/layout/css/plugins/summernote/summernote-bs3.css" rel="stylesheet">


    <link rel="stylesheet" href="__STATIC__/layout/css/demo.css" type="text/css">
    <link href="__STATIC__/layout/css/gyq.css" rel="stylesheet">
    <style>

        .note-editable {
            height: 150px
        }

    </style>

</head>

<body class="white-bg" style="padding: 3px;font-size: 13px">
    <div class="page-heade">
       <h2 class="title_color text-center">添加万用申请单</h2>
    </div>
    <form action="" class="form-inline" id="form1">
        <table class="table table-bordered bud_hei text-center">
            <tr>
                <td style="width: 140px;">申请人</td>
                <td class="text-left">蔡启豪</td>
                <td style="width: 140px;">申请人部门</td>
                <td class="text-left">华中大区</td>
            </tr>
            <tr>
                <td>申请时间</td>
                <td class="text-left" id="applytime"></td>
                <td>申请类型 <span class="colorRed">*</span></td>
                <td class="text-left">
                    <select class="form-control select">
                        <option value="0">请选择</option>
                        <option value="1">人员类报告</option>
                        <option value="2">行政费用类</option>
                        <option value="3">其他</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>主题 <span class="colorRed">*</span></td>
                <td class="text-left" colspan="3"><input type="text" name="" class="form-control" style="width: 50%"></td>
            </tr>
            <tr>
                <td>模板选择</td>
                <td class="text-left" colspan="3"> 
                    <select class="form-control select">
                        <option value="0">请选择</option>
                    </select>
                </td>
            </tr>
            <tr>
                <td>申请内容<span class="colorRed">*</span></td>
                <td colspan="3" class="text-left">
                     <div class="ibox float-e-margins" style="margin-bottom: 0">
                        <div class="ibox-content no-padding">

                            <div class="summernote" id="info">
                                                            </div>

                        </div>
                    </div>
                </td>
            </tr>
            <tr>
             <td colspan="4" class="text-left">温馨提醒：本编辑器不支持复杂表单提交，复杂表单请以附件形式提交</td>
            </tr>
            <tr>
                <td>是否涉及费用</td>
                <td colspan="3" class="text-left">
                       <label class="radio-inline" for="is_andCost">
                        <input type="radio"  name="andCost" class="form-control" id="is_andCost">是
                    </label>
                     <label class="radio-inline" for="no_andCost">
                        <input type="radio" name="andCost" checked class="form-control" id="no_andCost">否
                    </label>
                </td>
            </tr>
        </table>
        <div class="form-group white-bg" style="margin:20px 10px 20px 20px;">
            <div id="uploader" class="wu-example">
                <!--用来存放文件信息-->
                <div id="thelist" class="uploader-list">
                                   </div>
                <div class="btns">
                    <div id="picker">选择文件</div>
                    <button id="ctlBtn" class="btn btn-default">开始上传</button>
                </div>
                <input type="hidden" name="attach" id="attach"  >
            </div>
            <span>注：最多上传15个文件，每个文件小于50M,支持格式：</span><br>jpg,bnp,gif,png,jpeg,tif,raw,doc,docx,xls,xlsx,ppt,pptx,txt,pdf,rar,zip,mp4,avi,rmvb,rm,mid,3gp,AVI,3GP,,mpg,mp3,wma,wav
        </div>

        <div class="padding-10 text-center"><button class="btn btn-primary" type="submit">保存为草稿</button><span class="lr_5"></span><button class="btn btn-success" type="button">保存并提交工作流</button><span class="lr_5"></span><button class="btn btn-warning" type="button" id="fanhui">返回</button></div>
    </form>
  
    
<!-- 全局js -->
<script src="__STATIC__/layout/js/jquery.min.js"></script>
<script src="__STATIC__/layout/js/bootstrap.min.js?v=3.3.6"></script>
<!-- Sweet alert -->
<script src="__STATIC__/layout/js/plugins/sweetalert/sweetalert.min.js"></script>
<script src="__STATIC__/layout/js/plugins/layer/layer.min.js"></script>
<script>
    $(function () {
        $('body').on('click','input[type=text]',function () {
            this.select()
        })
    })
</script>
   <script src="__STATIC__/layout/js/plugins/summernote/summernote.min.js"></script>
<script src="__STATIC__/layout/js/plugins/summernote/summernote-zh-CN.js"></script>

<script>
     getNowFormatDate();
    $("#applytime").html(getNowFormatDate())
   function getNowFormatDate() {
    var date = new Date();
    var seperator1 = "-";
    var month = date.getMonth() + 1;
    var strDate = date.getDate();
    if (month >= 1 && month <= 9) {
        month = "0" + month;
    }
    if (strDate >= 0 && strDate <= 9) {
        strDate = "0" + strDate;
    }
    var currentdate = date.getFullYear() + seperator1 + month + seperator1 + strDate;
    return currentdate;
}
   
    $(document).ready(function () {
        $('.summernote').summernote({
            lang: 'zh-CN'
        });

          $('#fanhui').on('click',function () {
//                    parent.layer.close(parent.layer.getFrameIndex(window.name))
                    parent.location.reload();
                    return false
                })
    });

  
 $('#reset').on('click',function () {
            $("#form1 input").each(function(){
                $(this).val('');
            });
            $("#form1 select").each(function(){
                $(this).val('');
            });
            $('#form1').submit()
            return false
        })
</script>
</body>

</html>